package com.imti.mall.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.mall.model.order.pojo.OmsOrderReturnReason;
import com.imti.mall.model.order.query.ReturnResonApplyQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OmsOrderReturnReasonMapper extends BaseMapper<OmsOrderReturnReason> {

  List<OmsOrderReturnReason> getList(@Param("query") ReturnResonApplyQuery returnResonApplyQuery);

  int updateStatusById(@Param("query") OmsOrderReturnReason omsOrderReturnReason);

}
